<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
//			var a = eval((2+3.)*2);console.log(a);
			var equation = "3.";
			var b = equation.replace(/.$/, '');
			console.log(b)
			
		</script>
	</body>
</html>
